package com.xbongbong.workflow.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * @author 吴峰
 * @date 2021/06/29 10:17
 */
@Getter
@Setter
@ToString
public class WorkflowFilterConditionPoJo implements Serializable {
    private static final long serialVersionUID = 4131186716420824123L;

    /**
     * 子表单的节点
     */
    private Long hasSubFormNodeId;
    /**
     * 子表单的字段标识
     */
    private String parentAttr;

    private List<FilterCondition> conditions;


    /**
     * 条件为：目标表单子表单内字段等于当前表单子表单内字段
     */


    private  Boolean isSubFormAndSubForm;

    /**
     * 条件为：目标表单子表单内字段等于当前表单主字段
     */
    private Boolean isSubFormAndMain;
    /**
     * 条件为：目标表单表单主字段等于当前子表单内字段
     */
    private Boolean isMainAndSubForm;
}
